package com.digitalart.commons {
	import flash.events.Event;
	
	/**
	 * @author ulises.ocana
	 */
	public class CustomEvent extends Event {
		
		private var _data : *;
		
		/**********************************Constructor*************************/
		
		public function CustomEvent(type : String, data : *, bubbles : Boolean = false, cancelable : Boolean = false) {
			super(type, bubbles, cancelable);
			_data=data;
		}
		
		/**********************************************************************/
		/**************************Getters & Setters***************************/
		
		public function get data():*{
			return _data;   
		}
	}
}